<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Tooltip</title>
  <!-- 文档公共样式 及组件特有示例样式-->
  <link rel="stylesheet" href="../../docs.css" />
  <!-- 组件样式（全部的） -->
  <link rel="stylesheet" href="../../dist/tdesign.css">
</head>

<body>
  <div class="tdesign-demo-wrap">

    <!-- 开发者信息 -->
    <div class="tdesign-demo-wrap__name">
      <h1 class="">Tooltip</h1>
      <p class="tdesign-demo-wrap__info">开发者：nanniezhang</p>
      <p class="tdesign-demo-wrap__info">创建日期：2020-09-30</p>
      <p class="tdesign-demo-wrap__info">说明：文字提示</p>
    </div>

    <!-- 组件开始区 -->


    <!-- 默认样式 -->
    <div class="tdesign-demo-item tdesign-demo-item--dropdonw-base">
      <h2 class="tdesign-demo-item__title">默认</h2>

      <!-- 灰底区域 可多个 -->
      <div class="tdesign-demo-item__body">

        <!-- 内容区 Start-->
        <div class="t-tooltip-content t-tooltip-content--arrow" style="color: #fff; display: inline-block;">
          默认文字提示
          <div data-popper-arrow="" class="t-tooltip__arrow"
            style="position: absolute; left: 0px; transform: translate3d(68px, 0px, 0px);"></div>
        </div>
        <!-- 内容区 End-->

      </div>
    </div>

    <!-- 组件状态 -->
    <div class="tdesign-demo-item">
      <h2 class="tdesign-demo-item__title">状态</h2>

      <!-- 灰底区域 可多个 -->
      <div class="tdesign-demo-item__body">

        <!-- 内容区 Start-->

        <!-- tdesign-demo-block block内容容器，加了上间距 -->
        <div class="t-tooltip-content t-tooltip-content--arrow" style="color: #fff; display: inline-block;">
          箭头向右
          <div data-popper-arrow="" class="t-tooltip__arrow"
            style="position: absolute; left: 0px; transform: translate3d(83px, -15px, 0px);"></div>
        </div>

        <div class="t-tooltip-content t-tooltip-content--arrow"
          style="color: #fff; display: inline-block; margin-left: 10px;">
          箭头向下
          <div data-popper-arrow="" class="t-tooltip__arrow"
            style="position: absolute; left: 0px; transform: translate3d(68px, 0px, 0px);"></div>
        </div>

        <div class="t-tooltip-content t-tooltip-content--arrow"
          style="color: #fff; display: inline-block; margin-left: 10px;">
          箭头向上
          <div data-popper-arrow="" class="t-tooltip__arrow"
            style="position: absolute; left: 0px; transform: translate3d(68px, -32px, 0px);"></div>
        </div>

        <div class="t-tooltip-content t-tooltip-content--arrow"
          style="color: #fff; display: inline-block; margin-left: 10px;">
          箭头向左
          <div data-popper-arrow="" class="t-tooltip__arrow"
            style="position: absolute; left: 0px; transform: translate3d(-5px, -15px, 0px);"></div>
        </div>


        <!-- 内容区 End-->

      </div>
    </div>
    <!-- 组件类型 -->
    <div class="tdesign-demo-item">
      <h2 class="tdesign-demo-item__title">类型</h2>
      <div class="tdesign-demo-item__body">

        <!-- 内容区 Start-->
        <div class="t-tooltip-content t-tooltip-content--arrow"
          style="color: #fff; display: inline-block; background: #0052d9;">
          自定义颜色
          <div data-popper-arrow="" class="t-tooltip__arrow"
            style="position: absolute; left: 0px; transform: translate3d(68px, 0px, 0px);"></div>
        </div>
        <div class="t-tooltip-content t-tooltip-content--arrow"
          style="color: #fff; display: inline-block; background: #35cd35;">
          自定义颜色
          <div data-popper-arrow="" class="t-tooltip__arrow"
            style="position: absolute; left: 0px; transform: translate3d(68px, 0px, 0px);"></div>
        </div>
        <div class="t-tooltip-content t-tooltip-content--arrow"
          style="color: #0052d9; display: inline-block; background: #ff3e00;">
          自定义颜色
          <div data-popper-arrow="" class="t-tooltip__arrow"
            style="position: absolute; left: 0px; transform: translate3d(68px, 0px, 0px);"></div>
        </div>
        <div class="t-tooltip-content t-tooltip-content--arrow"
          style="color: #fff; display: inline-block; background: #fa0;">
          自定义颜色
          <div data-popper-arrow="" class="t-tooltip__arrow"
            style="position: absolute; left: 0px; transform: translate3d(68px, 0px, 0px);"></div>
        </div>
        <!-- 内容区 End-->

      </div>
    </div>
    <!-- 组件尺寸 -->
    <div class="tdesign-demo-item">
      <h2 class="tdesign-demo-item__title">尺寸(如果有)</h2>
      <div class="tdesign-demo-item__body">

        <!-- 内容区 Start-->

        <!-- 内容区 End-->
      </div>

    </div>

</body>

</html>